from . import index_bp
from info import redis_store
import logging
from flask import current_app
from info.models import User
@index_bp.route('/')
def hello():
    redis_store.set('name', "nihao")
    logging.debug("我是debug日志信息")
    logging.info("我是info日志信息")
    current_app.logger.debug('flask封装的debug记录')
    return 'hello word'